package com.axjy.service.impl;

import com.axjy.dao.AdminmemberMapper;
import com.axjy.pojo.Adminmember;
import com.axjy.service.AdminmemberService;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by 13802 on 2018/1/22.
 */
@Resource
@Transactional
public class AdminmemberServiceImpl implements AdminmemberService {

    @Resource
    private AdminmemberMapper adminmemberMapper;
    @Override
    public Adminmember login(String adminname, String adminpassword) {
        Adminmember adminmember=adminmemberMapper.find(adminname,adminpassword);
        return adminmember;
    }
}
